import java.util.Scanner;

public class id64 {
    public static void main(String[] args) {
    int num = (int) (Math.random() * 100) + 1;
        Scanner sc = new Scanner(System.in);
while (true){
    System.out.println("请输入你的答案");
    int guessNum = sc.nextInt();
    if (guessNum > num) {
        System.out.println("格局大了");
    }else if (guessNum < num){
        System.out.println("格局小了");
    }else {
        System.out.println("答对了");
        break;
    }
}
    }
}

